set(_target "erhe_file")
add_library(${_target})
add_library(erhe::file ALIAS ${_target})

erhe_target_sources_grouped(
    ${_target} TREE "${CMAKE_CURRENT_SOURCE_DIR}" FILES
    erhe_file/file.cpp
    erhe_file/file.hpp
    erhe_file/file_log.cpp
    erhe_file/file_log.hpp
)

target_include_directories(${_target} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
erhe_target_settings(${_target})
target_link_libraries(${_target}
    PRIVATE
        erhe::defer
        erhe::log
        erhe::verify
)
set_property(TARGET ${_target} PROPERTY FOLDER "erhe")
